<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/9/27 0027
  Time: 下午 7:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
	<title>商品主界面</title>
</head>
<body>
<form action="/GoodsServlet">
	<table>
		<tr>
			<th>编号</th>
			<th>名字</th>
			<th>价格</th>
			<th>产地</th>
			<th>类别</th>
			<th>操作</th>
		</tr>
		<c:forEach items="${goodsList}" var="g">
			<tr>
				<td>${g.goodsid}</td>
				<td>${g.goodsname}</td>
				<td>${g.goodsprice}</td>
				<td>${g.goodsaddress}</td>
				<td>${g.sorts.sortsname}</td>
				<td><a href="">增加</a>|<a href="">修改</a>|<a href="">删除</a></td>
			</tr>
		</c:forEach>
	</table>
</form>
</body>
</html>
